-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql
-- https://github.com/dillonkearns/elm-graphql


module Qore.Object.Ead exposing (..)

import Graphql.Internal.Builder.Argument as Argument exposing (Argument)
import Graphql.Internal.Builder.Object as Object
import Graphql.Internal.Encode as Encode exposing (Value)
import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription)
import Graphql.OptionalArgument exposing (OptionalArgument(..))
import Graphql.SelectionSet exposing (SelectionSet)
import Json.Decode as Decode
import Qore.InputObject
import Qore.Interface
import Qore.Object
import Qore.Scalar
import Qore.ScalarCodecs
import Qore.Union


control : SelectionSet decodesTo Qore.Object.Control -> SelectionSet decodesTo Qore.Object.Ead
control object_ =
    Object.selectionForCompositeField "control" [] object_ identity


archdesc : SelectionSet decodesTo Qore.Object.Archdesc -> SelectionSet decodesTo Qore.Object.Ead
archdesc object_ =
    Object.selectionForCompositeField "archdesc" [] object_ identity


id : SelectionSet (Maybe String) Qore.Object.Ead
id =
    Object.selectionForField "(Maybe String)" "id" [] (Decode.string |> Decode.nullable)


altrender : SelectionSet (Maybe String) Qore.Object.Ead
altrender =
    Object.selectionForField "(Maybe String)" "altrender" [] (Decode.string |> Decode.nullable)


audience : SelectionSet (Maybe String) Qore.Object.Ead
audience =
    Object.selectionForField "(Maybe String)" "audience" [] (Decode.string |> Decode.nullable)


lang : SelectionSet (Maybe String) Qore.Object.Ead
lang =
    Object.selectionForField "(Maybe String)" "lang" [] (Decode.string |> Decode.nullable)


script : SelectionSet (Maybe String) Qore.Object.Ead
script =
    Object.selectionForField "(Maybe String)" "script" [] (Decode.string |> Decode.nullable)


relatedencoding : SelectionSet (Maybe String) Qore.Object.Ead
relatedencoding =
    Object.selectionForField "(Maybe String)" "relatedencoding" [] (Decode.string |> Decode.nullable)


base : SelectionSet (Maybe String) Qore.Object.Ead
base =
    Object.selectionForField "(Maybe String)" "base" [] (Decode.string |> Decode.nullable)
